﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Campaign>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Campaign Details
</asp:Content>

<asp:Content ID="javascript" ContentPlaceHolderID="Javascript" runat="server">

         <script type="text/javascript">
        $(document).ready(function() {
        
        });

        

    </script>
</asp:Content>

<asp:Content ID="ContentHeader" ContentPlaceHolderID="ContentHeader" runat="server">
Details: <%= Html.DisplayTextFor(m => m.CampaignName)%>

</asp:Content>  

<asp:Content ID="ContentSubNav" ContentPlaceHolderID="ContentSubNav" runat="server">
    
    <li class="selected"><%= Html.ActionLink("Index", "Index", "Campaign")%></li>
    <li class=""><%= Html.ActionLink("Create", "Create", "Campaign")%></li>
    
    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>Campaign Details...</p>
    <%= Html.ValidationSummary(true, "There were some errors with your form. Please correct and try again") %>
    
    <% using (Html.BeginForm("Edit", "Campaign", FormMethod.Post, new {id = "EnquiryForm",  @class = "faux_form" })){%> 
    
    
      <%--USER INFO--%>

                <div>
                    <%= Html.LabelFor(m => m.CampaignName)%>
                    <%= Html.DisplayTextFor(m => m.CampaignName) %>
                </div>

                <div>
                
                    <%= Html.LabelFor(m => m.CampaignType)%>
                    <%= Html.DisplayTextFor(m => m.CampaignType) %>
                    
                </div>
                
                <div>
                    <%= Html.LabelFor(m => m.CampaignDate)%>
                    <%= Html.Encode(Model.CampaignDate != null ? Model.CampaignDate.Value.ToShortDateString() : "")%>
                </div>
                
                <div>
                    <%= Html.LabelFor(m => m.LastContactDate)%>
                    <%= Html.DisplayTextFor(m => m.LastContactDate)%>
                    
                </div>
                
               
            <% } %>

     

</asp:Content>
